package cn.wolfcode.shop.redis;

import cn.wolfcode.shop.redis.key.BaseKeyPrefix;
import cn.wolfcode.shop.redis.key.KeyPrefix;
import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class SeckillOrderKeyPrefix extends BaseKeyPrefix {
    public static final SeckillOrderKeyPrefix SECKILL_ORDER = new SeckillOrderKeyPrefix("SECKILL_GOOD_STOCK",300);

    public SeckillOrderKeyPrefix(String prefix, int expireSeconds) {
        super(prefix, expireSeconds);
    }
}
